package com.ftg.learn.chapter08.pattern.proxy.defendant1;

/**
 * 法院
 *
 * @author lijiaxin
 * @version 1.0
 * @date 2023/8/4 9:01
 */

public class Court {

    public static void main(String[] args) {
        Defendant d=new Defendant();
        d.setName("张三");
        Sayinterface say=new LawyerProxy(d);
        say.say();
    }
}
